package com.scedu.service;

import java.time.LocalDate;
import java.util.Map;

public interface SignInService {
    boolean doSign(int cid, LocalDate date); //用户签到

    boolean checkSign(int cid, LocalDate date); //检查用户当天是否签到

    long getSignCountByMonth(int cid, LocalDate date); //获取用户当月签到次数

    long getContinuousSignCount(int cid, LocalDate date);//获取用户当月签到次数

    LocalDate getFirstSignDate(int cid, LocalDate date);//获取当月首次签到日期

    Map<String, Boolean> getSignInfo(int cid, LocalDate date);//获取当月签到情况
}
